class EventBlob < ActiveRecord::Base
  belongs_to :event
  belongs_to :assignment, :class_name => 'Assignment', :foreign_key => 'event_id'

  validates_presence_of :data
  validates_presence_of :kind
end
